import { HttpException } from '@exceptions/http.exception';

export class MenuNotFoundException extends HttpException {
  constructor(message: string = '菜单不存在') {
    super(404, message);
  }
}

export class MenuExistedException extends HttpException {
  constructor(message: string = '菜单已存在') {
    super(409, message);
  }
}
